<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of SharingMetrics
 *
 * @author QuangKhoi
 */
class SharingMetrics {
    
    public function __construct($socialType) {
        $socialType = strtolower($socialType);
        $query = "UPDATE shareingmetrics SET value = value + 1 WHERE name = '$socialType'";
        $db = Database::getInstance();
        $db->query($query);
    }
    
    public static function getSharingMetrics($_filter) {
        
    }
}

?>
